var curWwwPath=window.document.location.href;
var pathName=window.document.location.pathname;
var pos=curWwwPath.indexOf(pathName);
var localhostpath=curWwwPath.substring(0,pos);
var projectName = pathName.substring(0,pathName.substr(1).indexOf('/')+1);
var basePath = localhostpath + projectName;

document.write(
    '<link href="'+basePath+'/css/bootstrap.min.css" rel="stylesheet" type="text/css">');
document.write(
    '<link href="'+basePath+'/plugins/ztree/css/metroStyle/metroStyle.css" rel="stylesheet" type="text/css">');
document.write(
    '<link href="'+basePath+'/css/main.css" rel="stylesheet" type="text/css">');
document.write(
    '<link href="'+basePath+'/css/common.css" rel="stylesheet" type="text/css">');
document.write(
    '<link href="'+basePath+'/css/common2.css" rel="stylesheet" type="text/css">');
document.write(
    '<link rel="stylesheet" href="'+basePath+'/lib/index.css" type="text/css">');
document.write(
    '<link rel="stylesheet" href="'+basePath+'/css/business/recruit.css" type="text/css">');
document.write(
    '<link href="'+basePath+'/quill/css/quill.bubble.css" rel="stylesheet" type="text/css">');
document.write(
    '<link href="'+basePath+'/quill/css/quill.core.css" rel="stylesheet" type="text/css">');
document.write(
    '<link href="'+basePath+'/quill/css/quill.snow.css" rel="stylesheet" type="text/css">');
document.write(
    '<link href="'+basePath+'/quill/css/quill.cn.css" rel="stylesheet" type="text/css">');